using System.Windows.Forms;
using DevExpress.XtraReports.UI;

namespace RitaReports
{
    public interface IRitaReport
    {
        string Name { get; }
        IReportMap ReportMap { get; }
        IReportFilter Filter { get; }
        IReportViewer Viewer { get; }
        IReportDataSource DataSource { get; }
        IRitaReport[] SubReports { get; }
        
        void UpdateDataSource(IReportFilterConditionds reportFilter, IWin32Window owner);
    }

    public interface IReportViewer
    {
        XtraReport XtraReportControl { get; }

        void UpdateReportViewer(IReportDataSource reportDataSource); 
    }

    public interface IReportFilter
    {
        Control FilterControl { get; }
        IReportFilterConditionds FilterConditionds { get; }
    }

    public interface IReportMap
    {
        string GetBookmarkDisplayText(string bookmarkText);
        void ShowBookmarkDetails(IReportDataSource reportDataSource, string bookmarkText, IWin32Window owner);
    }

    public interface IReportFilterConditionds
    {
    
    }

    public interface IReportDataSource
    {
        
    }
}
